<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div{
            width:300px;
            height:300px;
            background:#fff;
            box-shadow:0 0 30px rgba(0,0,0,.3) inset,0 0 10px rgba(255,0,0,.8),0 0 30px rgba(255,255,0,.8);
            margin:auto;
            position:absolute;
            top:0;
            bottom:0;
            left:0;
            right:0;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>
